class Single:
    instance = ''

    def __new__(cls, *args, **kwargs):
        if not cls.instance:
            cls.instance = super().__new__(cls, *args, **kwargs)
        return cls.instance


a = Single()
b = Single()
print(a is b)
